package com.ks3.demo.main;

/**
 * Demo中一些常量
 */
public class Constants {
    // public static final String ACCESS_KEY__ID = "YOUR_ACCESS_KEY_ID";
    // public static final String ACCESS_KEY_SECRET = "YOUR_ACCESS_KEY_SECRET";
    public static final String TEST_TXT = "YOUR_TEST_TXT_IN_SDCARD_ROOT_PATH";
    public static final String TEST_IMG = "/storage/emulated/0/storage/watch.jpg";
    protected static final String UPLOAD_ID = "a0112e98e1614a20ab287fab070c2f47";
    // public static final String APP_SERTVER_HOST =
    // "http://192.168.231.49:119
    public static final String TEST_MULTIUPLOAD_FILE = "/storage/emulated/0/storage/PDF.pdf";
    public static final String TEST_MULTIUPLOAD_BUCKET = "android-test";

    public static final String APP_SERTVER_HOST = "YOUR_APP_SERVER_HOST";
    // 测试用AK&SK
    public static String ACCESS_KEY__ID = "YOUR_AK";
    public static String ACCESS_KEY_SECRET = "YOUR_SK";
    public static final String END_POINT = "ks3-cn-beijing.ksyuncs.com";

    public static final long MULTI_UPLOAD_THREADHOLD = 1 * 1024 * 1024;

    public static final int READ_TIMEOUT = 3000;

    public static final String SRC_BUCKETNAME = "android-test";
    public static final String SRC_OBJECTKEY = "1.jpg";
    public static final String DST_BUCKETNAME = "android-test";
    public static final String DST_OBJECTKEY = "1.copy.jpg";

    // 为调试方便从assets/global.properties文件中读取ak、sk并赋值 不建议在正式环境使用如下方式
    public static void setAKSK(String ak, String sk) {
        ACCESS_KEY__ID = ak;
        ACCESS_KEY_SECRET = sk;
    }

}